<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <!--#include file="public/head.asp"-->
</head>

<body>
    <!--#include file="public/header.asp"-->
    <div id="app">
        <v-button @click.native="showMessage">
            点我会弹出提示
        </v-button>
    </div>
    <!--#include file="public/footer.asp"-->
</body>

</html>
<script type="text/javascript">
    new Vue({
        el: "#app",
        data: {},
        components: {
            // 注册组件
            vButton: atui.Button,
            message: atui.Message
        },
        methods: {
            showMessage: function () {
                fetch_POST('/Home/Frontend/Login/login', {
                    account:"13296905340",
                    password: "123456"
                }).then(res=>{
                    atui.Message.success(res.data.msg, 1500, "center");
                })
                
            }
        }
    })
</script>